Integrand size = 23, antiderivative size = 78 \[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=-\frac {\operatorname {AppellF1}\left (\frac {1}{2},-n,1,\frac {3}{2},1-\sin (e+f x),\frac {1}{2} (1-\sin (e+f x))\right ) \cos (e+f x) \sin ^{-n}(e+f x) (d \sin (e+f x))^n}{f \sqrt {1+\sin (e+f x)}} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {2865, 2864, 129, 440} \[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=-\frac {\cos (e+f x) \sin ^{-n}(e+f x) \operatorname {AppellF1}\left (\frac {1}{2},-n,1,\frac {3}{2},1-\sin (e+f x),\frac {1}{2} (1-\sin (e+f x))\right ) (d \sin (e+f x))^n}{f \sqrt {\sin (e+f x)+1}} \]
[In]
[Out]
Rule 129
Rule 440
Rule 2864
Rule 2865
Rubi steps \begin{align*} \text {integral}& = \left (\sin ^{-n}(e+f x) (d \sin (e+f x))^n\right ) \int \frac {\sin ^n(e+f x)}{\sqrt {1+\sin (e+f x)}} \, dx \\ & = -\frac {\left (\cos (e+f x) \sin ^{-n}(e+f x) (d \sin (e+f x))^n\right ) \text {Subst}\left (\int \frac {(1-x)^n}{(2-x) \sqrt {x}} \, dx,x,1-\sin (e+f x)\right )}{f \sqrt {1-\sin (e+f x)} \sqrt {1+\sin (e+f x)}} \\ & = -\frac {\left (2 \cos (e+f x) \sin ^{-n}(e+f x) (d \sin (e+f x))^n\right ) \text {Subst}\left (\int \frac {\left (1-x^2\right )^n}{2-x^2} \, dx,x,\sqrt {1-\sin (e+f x)}\right )}{f \sqrt {1-\sin (e+f x)} \sqrt {1+\sin (e+f x)}} \\ & = -\frac {\operatorname {AppellF1}\left (\frac {1}{2},-n,1,\frac {3}{2},1-\sin (e+f x),\frac {1}{2} (1-\sin (e+f x))\right ) \cos (e+f x) \sin ^{-n}(e+f x) (d \sin (e+f x))^n}{f \sqrt {1+\sin (e+f x)}} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(227\) vs. \(2(78)=156\).
Time = 0.38 (sec) , antiderivative size = 227, normalized size of antiderivative = 2.91 \[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=\frac {\cos (e+f x) (-\sin (e+f x))^{-n} (d \sin (e+f x))^n \sqrt {1+\sin (e+f x)} \left (1-\frac {1}{1+\sin (e+f x)}\right )^{-n} \left (4 \operatorname {AppellF1}\left (-\frac {1}{2}-n,-\frac {1}{2},-n,\frac {1}{2}-n,\frac {2}{1+\sin (e+f x)},\frac {1}{1+\sin (e+f x)}\right ) (-\sin (e+f x))^n \sqrt {\frac {-1+\sin (e+f x)}{1+\sin (e+f x)}}-(1+2 n) \operatorname {AppellF1}\left (1,\frac {1}{2},-n,2,\frac {1}{2} (1+\sin (e+f x)),1+\sin (e+f x)\right ) \sqrt {2-2 \sin (e+f x)} \left (1-\frac {1}{1+\sin (e+f x)}\right )^n\right )}{4 f (1+2 n) (-1+\sin (e+f x))} \]
[In]
[Out]
\[\int \frac {\left (d \sin \left (f x +e \right )\right )^{n}}{\sqrt {\sin \left (f x +e \right )+1}}d x\]
[In]
[Out]
\[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=\int { \frac {\left (d \sin \left (f x + e\right )\right )^{n}}{\sqrt {\sin \left (f x + e\right ) + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=\int \frac {\left (d \sin {\left (e + f x \right )}\right )^{n}}{\sqrt {\sin {\left (e + f x \right )} + 1}}\, dx \]
[In]
[Out]
\[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=\int { \frac {\left (d \sin \left (f x + e\right )\right )^{n}}{\sqrt {\sin \left (f x + e\right ) + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=\int { \frac {\left (d \sin \left (f x + e\right )\right )^{n}}{\sqrt {\sin \left (f x + e\right ) + 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(d \sin (e+f x))^n}{\sqrt {1+\sin (e+f x)}} \, dx=\int \frac {{\left (d\,\sin \left (e+f\,x\right )\right )}^n}{\sqrt {\sin \left (e+f\,x\right )+1}} \,d x \]
[In]
[Out]